Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ios): export like docs #6

Closed

Conversation

danieloprado
Copy link

@danieloprado danieloprado commented Feb 24, 2024

Maybe fix aarongrider#32 IOS 3.9 build, I couldn't test in a real device.

Based on https://react-native-vision-camera.com/docs/guides/frame-processors-plugins-ios swift tab.

@ismaelsousa
Copy link
Owner

@danieloprado thanks for this, I tried, but it is not working.

But please check the latest version I fixed the lib when using the vision camera 3.9.0

@tomhopkins
Copy link

Apoloiges if posting in the wrong place. I'm getting this in build (expo):

`[FrameProcessorPluginRegistry addFrameProcessorPlugin:@"scanOCR" withInitializer:^FrameProcessorPlugin * _Nonnull(NSDictionary * _Nullable options) {

15 | return [[OCRFrameProcessorPlugin alloc] initWithOptions:options];
| ^ no visible @interface for 'OCRFrameProcessorPlugin' declares the selector 'initWithOptions:'`

@ismaelsousa
Copy link
Owner

ismaelsousa commented Feb 25, 2024

@tomhopkins is this happening in the latest version?

@ismaelsousa
Copy link
Owner

ismaelsousa commented Feb 25, 2024

I added the proxy option on the latest, could u try it?

@tomhopkins
Copy link

tomhopkins commented Feb 25, 2024

Yes, latest versions I think

"dependencies": {
"@expo/config-plugins": "~7.8.0",
"@gorhom/bottom-sheet": "^4.5.1",
"@ismaelmoreiraa/vision-camera-ocr": "^2.3.0",
...
"@xstate/react": "^4.0.2",
"expo": "^50.0.7",
...
"expo-av": "~13.10.5",
"expo-build-properties": "~0.11.1",
...
"expo-updates": "~0.24.10",
...
"npm": "^10.4.0",
"react": "18.2.0",
...
"react-native": "0.73.4",
...
"react-native-vision-camera": "^3.9.0",
...
"react-native-worklets-core": "0.3.0",
...
},

Sorry, what would the proxy do?

@ismaelsousa
Copy link
Owner

@tomhopkins Somehow, my changes were not included, let me patch again

@ismaelsousa
Copy link
Owner

@tomhopkins bump to 2.3.1

@ismaelsousa
Copy link
Owner

this proxy initialize 2.3.0...2.3.1

@tomhopkins
Copy link

tomhopkins commented Feb 25, 2024 via email

@tomhopkins
Copy link

Thanks. We're in business :-).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants